<?php
require_once 'classes/Login.php';
$Login = new Login;
if($Login->verify())
{
    header('Location:myAccount.php');
}
include 'includes/header.inc.php';
?>
			<div id="form">
				<h1>Register</h1>
				<fieldset id="memberRegisterForm">
					<form method="post" action="#">
						<p>
							<label for="companyName">Company Name: </label>
							<input type="text" name="companyName" id="companyName" class="input"/>
						</p>
						<p>
							<label for="contactName">Contact Name: </label>
							<input type="text" name="contactName" id="contactName" class="input"/>
						</p>
						<p>
							<label for="emailReg">Email Address: </label>
							<input type="text" name="emailReg" id="emailReg" class="input"/>
						</p>
						<p>
							<label for="passwordReg">Password: </label>
							<input type="password" name="passwordReg" id="passwordReg" class="input"/>
						</p>
						<p>
							<label for="captcha"><?php echo $Login->mathCaptcha(); ?></label>
							<input type="text" name="captcha" id="captcha" class="input"/>
						</p>
						<p>
							<input type="submit" name="register" id="register" class="button" value="Register" />
						</p>
					</form>
				</fieldset>
				<div id="loading"><img src="/sandbox1/media/images/loader.gif" alt="Loading..." /></div>
				<div id="feedback"></div>
			</div><!-- end form -->
<?php include 'includes/footer.inc.php'; ?>
